package com.sz.announce.bmo.impl;

import java.util.List;
import java.util.Map;

import com.sz.announce.bmo.IAnnounceBMO;
import com.sz.announce.dao.IAnnounceDAO;

public class AnnounceBMO implements IAnnounceBMO {
	
	protected IAnnounceDAO	announceDAO = null;

	public IAnnounceDAO getAnnounceDAO() {
		return announceDAO;
	}

	public void setAnnounceDAO(IAnnounceDAO announceDAO) {
		this.announceDAO = announceDAO;
	}
	
	@SuppressWarnings("unchecked")
	public long addAnnounce_business(Map map) throws Exception {
		return announceDAO.addAnnounce_business(map);
	}
	
	@SuppressWarnings("unchecked")
	public long addAnnounce_seating(Map map) throws Exception {
		return announceDAO.addAnnounce_seating(map);
	}
	
	@SuppressWarnings("unchecked")
	public String uptAnnounce_seating(Map map) throws Exception {
		return announceDAO.uptAnnounce_seating(map);
	}
	
	@SuppressWarnings("unchecked")
	public String delAnnounce_seating(Map map) throws Exception {
		return announceDAO.delAnnounce_seating(map);
	}
	
	@SuppressWarnings("unchecked")
	public List queryAnnounce_business_avalid(Map map) throws Exception {
		return announceDAO.queryAnnounce_business_avalid(map);
	}

	@SuppressWarnings("unchecked")
	public List queryAnnounce_seating(Map map) throws Exception {
		return announceDAO.queryAnnounce_seating(map);
	}
	
	@SuppressWarnings("unchecked")
	public long queryAnnounce_seatingCount(Map map) throws Exception {
		return announceDAO.queryAnnounce_seatingCount(map);
	}

	@SuppressWarnings("unchecked")
	public List queryAnnounce_seatingPage(Map map) throws Exception {
		return announceDAO.queryAnnounce_seatingPage(map);
	}
}
